You are here: Record management > Rule testing > PegaUnit testing > Setting up your test environment

Setting up your test environment

You can use one or more data pages, data transforms, or activities to set up the clipboard before running a PegaUnit test case. You can also use activities to create any required test data, such as work or data objects.

To set up the clipboard, complete the following steps.

  1. Optional: Open the test case if it is not already open.
  2. Click the Cleanup & Setup tab.
  1. In the Setup section, click Add step.
  2. Select Apply data transform, Load data page, or Execute activity and then provide the appropriate data transform, activity, or data page in the following field.
  3. If parameters are configured on the rule, you can configure them by clicking the Parameters link and providing values in the Configure parameters dialog box.
  4. Optional:Provide additional information in the Enter comments field.
  5. Click Save.